package com.masterh;

public class MathNumber {
    public static void main(String[] args) {
        System.out.println("90 度的正弦值：" + Math.sin(Math.PI/2));
        System.out.println("0度的余弦值：" + Math.cos(0));
        System.out.println("60度的正切值：" + Math.tan(Math.PI/3));
        System.out.println("1的反正切值： " + Math.atan(1));
        System.out.println("π/2的角度值：" + Math.toDegrees(Math.PI/2));
        System.out.println(Math.PI);

        System.out.println("11.2 floor：" + Math.floor(11.2));
        System.out.println("11.2 ceil：" + Math.ceil(11.2));
        System.out.println("11.5 round：" + Math.round(11.5));
        System.out.println("-11.5 round：" + Math.round(-11.5));
    }
}
